package spring.cloud.tasks.api.domain.task_item;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Setter
@Getter
public final class TaskItemExecuteInfo implements Comparable<TaskItemExecuteInfo> {
    private String taskId;
    private String taskInstanceId;
    private String taskItemIndex;
    /**
     * 运行任务服务器
     */
    private String executorId;
    private int status;
    private Long lastBeginTime;
    private Long executornReportTime;
    private long timeConsumed;

    @Override
    public int compareTo(TaskItemExecuteInfo o) {
        return 0;
    }
}
